import 'package:json_annotation/json_annotation.dart';
import 'package:flutter_douban/main_page/class/model/class_list_model.dart';
import 'class_detail_son_model.dart';
part 'class_detail_model.g.dart';


@JsonSerializable()
class ClassDetailModel {
  /// 其他课程
  ClassListModel? other_courses;
  /// 详情基本信息
  ClassDetailSonModel? c;

  ClassDetailModel(this.other_courses,this.c);
  factory ClassDetailModel.fromJson(Map<String,dynamic> json) => _$ClassDetailModelFromJson(json);
  Map<String, dynamic> toJson() => _$ClassDetailModelToJson(this);

}

